import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

// element-plus
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
// global.css
import '@/assets/css/global.css'
import 'viewerjs/dist/viewer.css'
import VueViewer from 'v-viewer'
import '@/assets/css/font.css'

/* 引入aos动画库相关文件 */
import AOS from 'aos'
import 'aos/dist/aos.css'



// app.config.errorHandler = (err, vm, info) => {
//   // 在此处处理错误
//   console.log(err)
// }

createApp(App).use(store).use(router).use(VueViewer).use(ElementPlus).mount('#app')
